<? if($logged_in): ?>
<div id="form_logout">
    <div class="button float-l"><a href="/main/group" id="button-group1">Группы товаров</a></div>
    <div class="button float-r"><a href="/auth/logout" id="button-logout1">Выход</a></div>
    <br class="clear" />
</div>

<div id="List">
    <div class="items">
        <div class="head">
            <div class="uin float-l">1С ID</div>
            <div class="article float-l">Артикул</div>
            <div class="name float-l">Наименование</div>  
            <br class="clear"/>
        </div>
        <div class="rows">
        <? foreach($list as $item): ?>
            <div class="row" id="item-row-<?= $item -> id ?>" >
                <div class="uin float-l"><?= $item -> id1c ?></div>
                <div class="article float-l"><?= $item -> article ?></div>
                <div class="name float-l"> <?= $item -> name ?></div>  
                <br class="clear"/>
            </div>
        <? endforeach ?>
        </div>
    </div>
</div>

<? endif ?>
